import request from '@/utils/request'

/* 获取省份列表 */
export function getProvince() {
    return request({
        url: '/member/province/list',
        method: 'get',
    })
}

/* 根据省份Id获取城市列表 */
export function getCityByProvinceId(cityUpId) {
    return request({
        url: '/member/city/' + cityUpId,
        method: 'get',
    })
}

/* 根据城市Id获取区/县列表 */
export function getDistrictByCityId(districtUpId) {
    return request({
        url: '/member/district/' + districtUpId,
        method: 'get',
    })
}
